import {
  FileListDto,
  FileInsertDto,
  FileDeleteDto,
} from '@/api/file/dto/file.dto';
import { FileEntity } from '@/entity/file.entity';
import { pageRecords } from '@/interface/pageInterface';

export interface FileService {
  uploadToQiniu(file: FileInsertDto);
  delete(fileName: FileDeleteDto);
  list(body: FileListDto): Promise<pageRecords<FileEntity>>;
}
